<template>
  <div id="app">
    <router-view/>
    <FooterNav/>
  </div>
</template>

<script>
import FooterNav from '../src/components/FooternNav.vue'

export default {
  name: 'App',
  components: {
    FooterNav
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

/* 确保页面内容不会被底部导航遮挡 */
html, body, #app {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* 为底部导航留出空间 */
  }
}
</style>
